package asia.doing.action;

import asia.doing.service.impl.ArticleServiceImpl;
import com.opensymphony.xwork2.ActionSupport;
import org.apache.struts2.ServletActionContext;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class ArticleAction extends ActionSupport {

    private ArticleServiceImpl articleService;

    public ArticleServiceImpl getArticleService() {
        return articleService;
    }

    public void setArticleService(ArticleServiceImpl articleService) {
        this.articleService = articleService;
    }



    @Override
    public String execute() throws Exception {
        HttpServletResponse res = ServletActionContext.getResponse();
        HttpServletRequest req = ServletActionContext.getRequest();
        return SUCCESS;
    }
}
